import common from "./common";

export default {

    addCommands() {
        Cypress.Commands.add("findDialog",
            {
                prevSubject: 'optional'
            },
            (subject: Cypress.Chainable<any>): Cypress.Chainable<any> => {
                return common.selectNode(subject, "mat-dialog-container");
            });
    }

}
